package com.csot.ry.domain;

import com.csot.common.annotation.Excel;
import com.csot.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * DCN对象 t_dcn_segment
 *
 * @author csot
 * @date 2023-04-03
 */
public class TDcnSegment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 起始地址 */
    @Excel(name = "起始地址")
    private String ipStart;

    /** 起始地址整型 */
//    @Excel(name = "起始地址整型")
    private Long ipStartI;

    /** 终止地址 */
    @Excel(name = "终止地址")
    private String ipEnd;

    /** 终止地址整型 */
//    @Excel(name = "终止地址整型")
    private Long ipEndI;

    /** 用途分类 */
    @Excel(name = "用途分类")
    private String ipUseType;

    /** 用途描述 */
    @Excel(name = "用途描述")
    private String ipUseDescribe;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 物理地址 */
    @Excel(name = "物理地址")
    private String deviceAddress;

    /** 使用地市 */
    @Excel(name = "使用地市")
    private String ipCity;

    /** IP地址责任人 */
    @Excel(name = "IP地址责任人")
    private String ipUser;

    /** 管理部门 */
    @Excel(name = "管理部门")
    private String ipManagement;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String ipStatus;

    @Excel(name = "备注")
    private String remark;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIpStart(String ipStart)
    {
        this.ipStart = ipStart;
    }

    public String getIpStart()
    {
        return ipStart;
    }
    public void setIpStartI(Long ipStartI)
    {
        this.ipStartI = ipStartI;
    }

    public Long getIpStartI()
    {
        return ipStartI;
    }
    public void setIpEnd(String ipEnd)
    {
        this.ipEnd = ipEnd;
    }

    public String getIpEnd()
    {
        return ipEnd;
    }
    public void setIpEndI(Long ipEndI)
    {
        this.ipEndI = ipEndI;
    }

    public Long getIpEndI()
    {
        return ipEndI;
    }
    public void setIpUseType(String ipUseType)
    {
        this.ipUseType = ipUseType;
    }

    public String getIpUseType()
    {
        return ipUseType;
    }
    public void setIpUseDescribe(String ipUseDescribe)
    {
        this.ipUseDescribe = ipUseDescribe;
    }

    public String getIpUseDescribe()
    {
        return ipUseDescribe;
    }
    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType()
    {
        return deviceType;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setDeviceAddress(String deviceAddress)
    {
        this.deviceAddress = deviceAddress;
    }

    public String getDeviceAddress()
    {
        return deviceAddress;
    }
    public void setIpCity(String ipCity)
    {
        this.ipCity = ipCity;
    }

    public String getIpCity()
    {
        return ipCity;
    }
    public void setIpUser(String ipUser)
    {
        this.ipUser = ipUser;
    }

    public String getIpUser()
    {
        return ipUser;
    }
    public void setIpManagement(String ipManagement)
    {
        this.ipManagement = ipManagement;
    }

    public String getIpManagement()
    {
        return ipManagement;
    }
    public void setIpStatus(String ipStatus)
    {
        this.ipStatus = ipStatus;
    }

    public String getIpStatus()
    {
        return ipStatus;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ipStart", getIpStart())
                .append("ipStartI", getIpStartI())
                .append("ipEnd", getIpEnd())
                .append("ipEndI", getIpEndI())
                .append("ipUseType", getIpUseType())
                .append("ipUseDescribe", getIpUseDescribe())
                .append("deviceType", getDeviceType())
                .append("deviceName", getDeviceName())
                .append("deviceAddress", getDeviceAddress())
                .append("ipCity", getIpCity())
                .append("ipUser", getIpUser())
                .append("ipManagement", getIpManagement())
                .append("ipStatus", getIpStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
